Gets a boolean value indicating whether or not moving to the selected activity is a valid operation.
Parent Type: LearningSession
Namespace: Microsoft.LearningComponents
Assembly: Microsoft.LearningComponents.dll
| C# |
|
public virtual bool IsMoveToActivityValid ( ) |
activityKey
The key that uniquely identifies the activity.
Returns true if moving to the selected activity would result in making that activity become the current activity.
| Exception type | Condition |
| ArgumentNullException | Thrown if activityKey is null. |
| ArgumentOutOfRangeException | Thrown if activityKey is an empty string. |